Panel Events
The panel event enumeration defines the possible event types that can occur in a panel. This data type is used with the panel information structure, which is described in the previous section.
enum { gxPanelNoEvt = (gxPanelEvent) 0, gxPanelOpenEvt = (gxPanelEvent) 1, gxPanelCloseEvt = (gxPanelEvent) 2, gxPanelHitEvt = (gxPanelEvent) 3, gxPanelActivateEvt = (gxPanelEvent) 4, gxPanelDeactivateEvt = (gxPanelEvent) 5, gxPanelIconFocusEvt = (gxPanelEvent) 6, gxPanelPanelFocusEvt = (gxPanelEvent) 7, gxPanelFilterEvt = (gxPanelEvent) 8, gxPanelCancelEvt = (gxPanelEvent) 9, gxPanelConfirmEvt = (gxPanelEvent) 10, gxPanelDialogEvt = (gxPanelEvent) 11, gxPanelOtherEvt = (gxPanelEvent) 12, gxUserWillConfirmEvt = (gxPanelEvent) 13 }; typedef long gxPanelEvent;Constant descriptions
gxPanelNoEvt
- No event has occurred.
gxPanelOpenEvt
- The panel is about to open. It needs to be initialized and drawn.
gxPanelCloseEvt
The panel is about to close.gxPanelHitEvt
- The user has selected an item in the panel.
gxPanelActivateEvt
- The dialog box in which the panel resides has just been activated.
gxPanelDeactivateEvt
- The dialog box in which the panel resides is about to be deactivated.
gxPanelIconFocusEvt
The focus has changed from the panel to the icon list.gxPanelPanelFocusEvt
- The focus has changed from the icon list to the panel.
gxPanelFilterEvt
- The panel event needs to be filtered.
gxPanelCancelEvt
The user has selected the Cancel button in the dialog box.gxPanelConfirmEvt
- The user has selected the OK button in the dialog box.
gxPanelDialogEvt
- An event has occurred in the panel that is going to be handled by a dialog box handler such as the application, a printing extension, a printer driver, or the Macintosh system software.
gxPanelOtherEvt
- A different kind of event, such as an operating-system event, has occurred in the panel.
gxPanelUserWillConfirmEvt
- The user has selected the confirm button, which means that it is time to parse panel interdependencies.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help